#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<errno.h>
#include<fcntl.h>
#include<unistd.h> 
#include<pthread.h>

ints
main(void)
{
	char buffer[1024];
	
	int n = 0;
	n = read(STDIN_FILENO, buffer, 10);

	if(n < 0){
		perror("read faild");
		exit(0);
	}
	write(STDOUT_FILENO, buffer, n);


	n = read(STDIN_FILENO, buffer, 10);

	if(n < 0){
		perror("read faild");
		exit(0);
	}
	write(STDOUT_FILENO, buffer, n);

	exit(0);
}